package com.buyingtickets.entity;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author Hexz
 * @date 2021/6/23 23:08
 */
public class Blacklist {
    private int blacklistId;//黑名单ID
    private User user;//用户对象
    private Date startTime;//进入黑名单时间
    private Date endTime;//结束时间
    private String explain;//说明

    @Override
    public String toString() {
        return "Blacklist{" +
                "blacklistId=" + blacklistId +
                ", user=" + user +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", explain='" + explain + '\'' +
                '}';
    }

    public int getBlacklistId() {
        return blacklistId;
    }

    public void setBlacklistId(int blacklistId) {
        this.blacklistId = blacklistId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }
}
